<?php
use think\Route;  
Route::get('/',function(){  
    return 'Hello,这里是天骄微信api接口!';  
});  
// Route::get('news/:id','index/News/read');
// Route::get('news','index/News/readAll');

Route::get('banner','index/Banner/readAll');

Route::get('goods/:id','index/Goods/read');
Route::get('goods/goodstype','index/Goods/readGoodstype');
Route::get('goods','index/Goods/readAll');


Route::post('apply/add','index/Apply/add');
Route::get('apply/get','index/Apply/getApply');

Route::get('user/login','index/User/login');
// Route::post('message/add','index/Message/add');